﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Invini.Training
{
    public class InterfaceState : DependencyObject
    {
        public static readonly DependencyProperty HasStateProperty = DependencyProperty.RegisterAttached("HasState", typeof(bool), typeof(InterfaceState), new PropertyMetadata(false));
        public static void SetHasState(DependencyObject element, bool value)
        {
            element.SetValue(HasStateProperty, value);
        }
        public static bool GetHasState(DependencyObject element)
        {
            return (bool)element.GetValue(HasStateProperty);
        }
    }
}
